package com.jb.web.model.css;

import com.jb.web.bean.UIComponentImpl;
import com.jb.web.model.NoVisualComponent;


public class EventSet extends UIComponentImpl implements NoVisualComponent {
    static final long serialVersionUID = 123123L;

    static {
        publish(com.jb.web.model.css.EventSet.class, JS_HANDLER, "onClick");
        publish(com.jb.web.model.css.EventSet.class, JS_HANDLER, "onDblClick");

        publish(com.jb.web.model.css.EventSet.class, JS_HANDLER, "onMouseOut");
        publish(com.jb.web.model.css.EventSet.class, JS_HANDLER, "onMouseOver");
        publish(com.jb.web.model.css.EventSet.class, JS_HANDLER, "onMouseDown");
        publish(com.jb.web.model.css.EventSet.class, JS_HANDLER, "onMouseUp");
    }

    private String onClick;
    private String onDblClick;
    private String onMouseDown;
    private String onMouseOut;
    private String onMouseOver;
    private String onMouseUp;

    public String getEvents() {
        return " onClick=\"" + onClick + "\"" + " onDblClick=\"" + onDblClick + "\"" + " onMouseOut=\"" + onMouseOut +
        "\"" + " onMouseOver=\"" + onMouseOver + "\"" + " onMouseUp=\"" + onMouseUp + "\"" + " onMouseDown=\"" +
        onMouseDown + "\"";
    }

    public void setOnClick(String onClick) {
        this.onClick = onClick;
    }

    public String getOnClick() {
        return onClick;
    }

    public void setOnDblClick(String onDblClick) {
        this.onDblClick = onDblClick;
    }

    public String getOnDblClick() {
        return onDblClick;
    }

    public void setOnMouseDown(String onMouseDown) {
        this.onMouseDown = onMouseDown;
    }

    public String getOnMouseDown() {
        return onMouseDown;
    }

    public void setOnMouseOut(String onMouseOut) {
        this.onMouseOut = onMouseOut;
    }

    public String getOnMouseOut() {
        return onMouseOut;
    }

    public void setOnMouseOver(String onMouseOver) {
        this.onMouseOver = onMouseOver;
    }

    public String getOnMouseOver() {
        return onMouseOver;
    }

    public void setOnMouseUp(String onMouseUp) {
        this.onMouseUp = onMouseUp;
    }

    public String getOnMouseUp() {
        return onMouseUp;
    }
}
